package com.atguigu.mybatisplus.mapper;

import com.atguigu.mybatisplus.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Author: 绝城孤影
 * @Date: 2024/10/3 16:15
 * @Version: v1.0.0
 * @Description:
 **/
public interface UserMapper extends BaseMapper<User> {

	/**
	 * xml自定义查询
	 *
	 * @param name 用户名字
	 * @return 获取用户信息
	 */
	List<User> selectAllByName(String name);
}
